Skip to content

[Serialiser] Fix some inputs sometimes not being saved #245

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 5, 2025

Conversation

ScribbleTAS
Copy link
Member

Fixed a race condition in the FileThread that
prevents some inputs at the end of the file not getting serialised.

Switched the collection type from an arraylist to a queue and added an extra safety writeOutput, after the thread is closed

@github-project-automation github-project-automation bot moved this to Todo in TASmod May 5, 2025
@ScribbleTAS ScribbleTAS requested a review from PancakeTAS May 5, 2025 17:59
@ScribbleTAS ScribbleTAS self-assigned this May 5, 2025
@ScribbleTAS ScribbleTAS added the TASFile Issue relates to the playback file used to store inputs label May 5, 2025
@ScribbleTAS ScribbleTAS moved this from Todo to In Progress in TASmod May 5, 2025
Fixed a race condition in the FileThread that
prevents some inputs at the end of the file not getting serialised.
@ScribbleTAS ScribbleTAS merged commit c38b4de into MinecraftTAS:develop May 5, 2025
3 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in TASmod May 5, 2025
@ScribbleTAS ScribbleTAS deleted the fix/input-saving branch May 5, 2025 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TASFile Issue relates to the playback file used to store inputs
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants